package com.zh.factorymode.services.method.Impl;

import com.zh.factorymode.services.abastract.IClothbound;
import com.zh.factorymode.services.abastract.IDraught;
import com.zh.factorymode.services.abastract.Impl.BreadClothboundImpl;
import com.zh.factorymode.services.abastract.Impl.BreadDraughtImpl;
import com.zh.factorymode.services.method.IFoodFactory;
import com.zh.factorymode.services.simple.IFood;
import com.zh.factorymode.services.simple.Impl.BreadImpl;

public class BreadFactoryImpl implements IFoodFactory {
    @Override
    public IFood create() {
        return new BreadImpl();
    }

    @Override
    public IClothbound createClothbound() {
        return new BreadClothboundImpl();
    }

    @Override
    public IDraught createDraught() {
        return new BreadDraughtImpl();
    }

}
